#QT       += core gui

#greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = simple
TEMPLATE = app

INCLUDEPATH += ../lib
INCLUDEPATH += ../lib/lpng1640
INCLUDEPATH += ../lib/jpeg-9e
INCLUDEPATH += ../lib/include

LIBS  +=  -L$$PWD/../lib/tiff  -ltiff
LIBS  +=  -L$$PWD/../lib -lfreetype
#LIBS  +=  -L$$PWD/../lib -ljpeg
#LIBS  +=  -L$$PWD/../lib -llibpng16
LIBS  +=  -L$$PWD/../lib -lzlib


SOURCES +=main.cpp \
    tiffDemo.cpp \
    ../pluginLearn/LazyLoad/ImageLib/DIBPage.cpp      \
    ../pluginLearn/LazyLoad/ImageLib/TinyImageIO.cpp    \
    ../pluginLearn/LazyLoad/ImageLib/TinyImageWrapper.cpp \
    ../pluginLearn/LazyLoad/ImageLib/Utility.cpp \
../lib/jpeg-9e/cdjpeg.c  \
../lib/jpeg-9e/jaricom.c  \
../lib/jpeg-9e/jcapistd.c  \
../lib/jpeg-9e/jcarith.c   \
../lib/jpeg-9e/jccoefct.c \
../lib/jpeg-9e/jccolor.c   \
../lib/jpeg-9e/jcdctmgr.c \
../lib/jpeg-9e/jchuff.c  \
../lib/jpeg-9e/jcinit.c   \
../lib/jpeg-9e/jcmainct.c \
../lib/jpeg-9e/jcmarker.c \
../lib/jpeg-9e/jcmaster.c  \
../lib/jpeg-9e/jcomapi.c  \
../lib/jpeg-9e/jcparam.c   \
../lib/jpeg-9e/jcprepct.c  \
../lib/jpeg-9e/jcsample.c  \
../lib/jpeg-9e/jctrans.c \
../lib/jpeg-9e/jdapistd.c  \
../lib/jpeg-9e/jdarith.c  \
../lib/jpeg-9e/jdatadst.c  \
../lib/jpeg-9e/jdatasrc.c  \
../lib/jpeg-9e/jdcoefct.c \
../lib/jpeg-9e/jdcolor.c  \
../lib/jpeg-9e/jddctmgr.c \
../lib/jpeg-9e/jdhuff.c    \
../lib/jpeg-9e/jdinput.c  \
../lib/jpeg-9e/jdmainct.c  \
../lib/jpeg-9e/jdmarker.c \
../lib/jpeg-9e/jdmaster.c  \
../lib/jpeg-9e/jdmerge.c  \
../lib/jpeg-9e/jdpostct.c  \
../lib/jpeg-9e/jdsample.c  \
../lib/jpeg-9e/jdtrans.c \
../lib/jpeg-9e/jerror.c \
../lib/jpeg-9e/jfdctflt.c  \
../lib/jpeg-9e/jfdctfst.c \
../lib/jpeg-9e/jfdctint.c  \
../lib/jpeg-9e/jidctflt.c  \
../lib/jpeg-9e/jidctfst.c  \
../lib/jpeg-9e/jidctint.c \
../lib/jpeg-9e/jquant1.c  \
../lib/jpeg-9e/jquant2.c  \
../lib/jpeg-9e/jutils.c  \
../lib/jpeg-9e/rdbmp.c   \
../lib/jpeg-9e/rdcolmap.c \
../lib/jpeg-9e/rdgif.c   \
../lib/jpeg-9e/rdppm.c  \
../lib/jpeg-9e/rdrle.c  \
../lib/jpeg-9e/rdswitch.c  \
../lib/jpeg-9e/rdtarga.c \
../lib/jpeg-9e/wrbmp.c   \
../lib/jpeg-9e/wrgif.c   \
../lib/jpeg-9e/wrppm.c    \
../lib/jpeg-9e/wrrle.c \
../lib/jpeg-9e/wrtarga.c \
../lib/jpeg-9e/jdapimin.c \
../lib/jpeg-9e/jcapimin.c \
../lib/jpeg-9e/jmemmgr.c \
../lib/jpeg-9e/jmemansi.c \
../lib/lpng1640/png.c \
../lib/lpng1640/pngerror.c \
../lib/lpng1640/pngget.c  \
../lib/lpng1640/pngmem.c   \
../lib/lpng1640/pngpread.c \
../lib/lpng1640/pngread.c   \
../lib/lpng1640/pngrio.c   \
../lib/lpng1640/pngrtran.c  \
../lib/lpng1640/pngrutil.c  \
../lib/lpng1640/pngset.c  \
../lib/lpng1640/pngtrans.c \
../lib/lpng1640/pngwio.c    \
../lib/lpng1640/pngwrite.c \
../lib/lpng1640/pngwtran.c \
../lib/lpng1640/pngwutil.c


#HEADERS  += main.h

INCLUDEPATH += $$PWD/../lib



win32 {
    CONFIG(debug, release|debug):DESTDIR = ../debug/
    CONFIG(release, release|debug):DESTDIR = ../release/
} else {
    DESTDIR = ../release/
}

HEADERS += \
    demo.h \
 ../lib/jpeg-9e/jpeglib.h







